#pragma once
#ifndef _ABSTRACT_CONF_

#include <string>

class AbstractConf
{
public:
	
	/*获取端口*/

	virtual unsigned int getPort() = 0;

	/*获取ip*/

	virtual std::string getIP() = 0;

	/*是否开启目录浏览*/

	virtual bool isDocVisible() = 0;

	/*获取web目录*/

	virtual std::string getWebPath() = 0;

	/*获取最大连接数*/

	virtual unsigned int getMaxConnect() = 0;

	/*获取ip最大连接数*/
	virtual unsigned int getMaxConnectionsPerIpNumber() = 0;

	/*获取超时时间*/

	virtual unsigned int getTimeout() = 0;

	virtual std::string getTmpRoot() = 0;

	virtual unsigned long getMaxConnectionSpeed() = 0;
	virtual unsigned long  getSessionTimeout() = 0;
	virtual unsigned long  getRecvTimeout() = 0;
	virtual unsigned long  getSendTimeout() = 0;
	virtual unsigned long  getKeepAliveTimeout() = 0;
};


#endif // !_ABSTRACT_CONF_
